package com.ysalliance.getFan.organization.ui;

import android.widget.TextView;

import com.blankj.utilcode.util.ActivityUtils;
import com.blankj.utilcode.util.ToastUtils;
import com.example.zhouwei.library.CustomPopWindow;
import com.ysalliance.getFan.organization.R;
import com.ysalliance.getFan.organization.myview.FunButton;
import com.ysalliance.getFan.organization.ui.base.LucasBaseActivity;

import butterknife.BindView;


/**
 * 管路员界面
 * @author lucas
 * created at 2020-02-24 14:54
 */
public class AdminActivity extends LucasBaseActivity {

    @BindView(R.id.tv_title)
    TextView tv_title;
    @BindView(R.id.tv_add_admin)
    TextView tv_add_admin;
    @BindView(R.id.funbt_add)
    FunButton funbt_add;


    private CustomPopWindow mCustomPopWindow;

    @Override
    public int bindContentView() {
        return R.layout.activity_admin;
    }

    @Override
    public void afterView() {
        super.afterView();


        tv_title.setText("管理员（0）");

        initClick();

    }


    public void initClick() {
        //添加管理员
        tv_add_admin.setOnClickListener(v->{
            ToastUtils.showShort("添加管理员");
        });

        //通过手机号添加
        funbt_add.setOnClickListener(v->{
            ActivityUtils.startActivity(SearchVideoActivity.class);
        });




    }





}
